

// import http from './request.js'
// import axios from 'axios'
// const axiosaa= axios.create({
//     timeout: 5000, // 请求超时时间
//     withCredentials: true, //主要是添加这一行
//   });

export function hybrid(){
    // http.get("https://stock.xueqiu.com/v5/stock/quote.json?symbol=SH600130&extend=detail").then((response) => {
    //     console.log(response.data)
    //   })

    // axiosaa.post('https://stock.xueqiu.com/v5/stock/quote.json?symbol=SH600130&extend=detail',{}).then(response => (
    //      console.log(response)
    //  ))
    //   .catch(function (error) { // 请求失败处理
    //     console.log(error);
    //   });
	// // var mongoose = require("mongoose");
    // // mongoose.connect('mongodb://127.0.0.1:27017/');

    // mongoose.connection.once("open", function () {
    //     console.log("数据库已连接");
    // });

    // const AuthorSchema = new mongoose.Schema({name: String, ts_code: String, hy: String, ma5: String, open: Number, close: Number, percent: Number, huanshou: Number});

    // var StuModel = mongoose.model('stock_basic_aa',AuthorSchema);
    // StuModel.find({"name":"平安银行"}, function(err,doc){
    //     if(!err){
    //         console.log(doc);
    //     }else{
    //         console.log("数据不存在!");
    //     }
    // });



    // https://stock.xueqiu.com/v5/stock/quote.json?symbol=SH600130&extend=detail
}
